function draw_mouse()

	local x, y = love.mouse.getPosition()

	love.graphics.draw(aqua_ring_img, x, y)

end


function mouse_click(x, y, button)
	--print("clicked : ", button, " at ", x, y)



	if player.binds[button] then

		player.binds[button]()

	else

	end

end

function mouse_update(dt)



	if love.mouse.isDown("l") then
		if mouse_mode == "basic" then
			if m_count == player.fire_rate * 30 then
				p_fire_proj(mouse_mode, love.mouse.getX(), love.mouse.getY())
				m_count = m_count - 1
			else

				m_count = m_count - 1
			end

			if m_count == 0 then

				m_count = player.fire_rate*30

			end
		end


	end


end
